package com.dlkj.threadPool.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Embeddable;
import java.io.Serializable;

/**
 * @Author : lei
 * @Company ：DiLang Technology
 * @Date : 2019/1/17 16:25
 * @Description : 复合主键
 **/
//@Embeddable
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserRoleKey implements Serializable {
    private String userId;
    private String roleId;
}
